// Replace .mdx, so we can pass file paths into this function
export const pagePathToSlug = (pagePath) => pagePath.replace(/\.mdx?$/, '');
